<?php
#http://php.net/manual/en/function.mail.php
// multiple recipients
$to  = 'nb158f@gmail.com';

$subject = 'Birthday Reminders for Nov.';

// message
$message = "<p style=\"color:red;background:pink;padding:20px;border:1px solid blue;\">Here are the birthdays upcoming in August!</p><table width=\"80%\" align=\"center\" border=\"1\" cellpadding=\"10\"><tr>  <th>Person</th><th>Day</th><th>Month</th><th>Year</th></tr><tr>    <td>Joe</td><td>3rd</td><td>August</td><td>1970</td></tr><tr>    <td>Sally</td><td>17th</td><td>August</td><td>1973</td></tr></table>";

// To send HTML mail, the Content-type header must be set
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

// Additional headers
$headers .= 'To: Mary <nb158f@gmail.com>' . "\r\n";
$headers .= 'From: Birthday Reminder <nb158f@gmail.com>' . "\r\n";
$headers .= 'Cc: vikas.nice@gmail.com' . "\r\n";
//$headers .= 'Bcc: vikas@gmail.com' . "\r\n";

// Mail it
$flag = mail($to, $subject, $message, $headers);
var_dump($flag);
